package com.wf.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
/**
 * 
 * @TableName property_delivery
 */
@TableName(value ="property_delivery")
@Data
public class PropertyDelivery implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1772206456869754459L;
    /**
     * 交割id
     */
    @TableId(type = IdType.AUTO)
    private Integer deliveryId;

    /**
     * 房源id
     */
    private Integer houseId;

    /**
     * 交割人
     */
    private Integer deliveryUser;


    /**
     * 交割类型(0=水表信息，1=电表信息，2=房间信息)
     */
    private Integer deliveryType;

    /**
     * 交割用量（水表/电表用量）
     */
    private Integer deliveryUsage;

    /**
     * 交割照片
     */
    private Object deliveryImage;
    /**
     * 创建日期
     */

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateDate;
    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;


}